package com.mysoft.gfyx.common.rpc.bigdata;


import com.mysoft.gfyx.common.rpc.bigdata.dto.*;
import feign.Headers;
import feign.Param;
import feign.RequestLine;

public interface BigDataClientService {
    @RequestLine("GET /openapi/default_bigdata/gfyx/new-house-sale/list?presell_num={presell_num}&organizing_code={organizing_code}&pageNum={pageNum}&pageSize={pageSize}")
    @Headers("Content-Type: application/json")
    GetNewHouseSaleListDto getNewHouseSaleList(@Param("presell_num") String presellNum, @Param("organizing_code") String organizingCode,
                                               @Param("pageNum") int pageNum, @Param("pageSize") int pageSize);

    @RequestLine("POST /openapi/default_bigdata/gfyx/supplier/list")
    @Headers("Content-Type: application/json")
    BigdataBaseResponseDto getSupplierList(GetSupplierListRequestDto dto);

    @RequestLine("POST /openapi/default_bigdata/gfyx/purchase/detail")
    @Headers("Content-Type: application/json")
    GetPurchaseDetailResponseDto GetPurchaseDetail(GetPurchaseDetailRequestDto dto);
}
